package com.chaofan.websocket.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @program: websocket
 * @description:
 * @author: Mr.sun
 * @create: 2020-11-13 20:55
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("sys_user")
public class SysUser {
    private static final long serialVersionUID = -1840831686851699943L;

    private Long userId;

    private Long deptId;

    private String userName;

    private String nickName;

    private String email;

    private String phonenumber;

    private String sex;

    /** 用户头像 */
    private String avatar;

    /** 密码 */
    private String password;

    private String room;

    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String loginIp;

    private Date loginDate;

    private Date createTime;

    private Date updateTime;

}
